package com.lxr0860.lxr0860production_test.db.tb;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Index;
import androidx.room.PrimaryKey;

/**
 * 设备信息
 */
@Entity(tableName ="DevInfo" ,indices = {@Index(name = "FlashID",value = {"FlashID"})})
public class DevInfo {
    @PrimaryKey()//通过接口设置自增约束
    @ColumnInfo(name="id")//设置属性字段名
    private transient int id;

    //数据类型
    @ColumnInfo(name = "DataType")
    private String DataType;
    //设备型号
    @ColumnInfo(name = "EquipmentModel")
    private String EquipmentModel = "fail";
    //系统版本
    @ColumnInfo(name = "SystemVersion")
    private String SystemVersion = "fail";
    @ColumnInfo(name = "FlashID")
    private String FlashID = "fail";
    //Sam卡编号
    @ColumnInfo(name = "SamNo")
    private String SamNo = "fail";

    //起爆器编号
    @ColumnInfo(name = "DetonatorNo")
    private String DetonatorNo = "fail";

    //终端编号
    @ColumnInfo(name = "TerminalNo")
    private String TerminalNo = "fail";
    //序列号
    @ColumnInfo(name = "SerialNo")
    private String SerialNo = "fail";
    //主板版本
    @ColumnInfo(name = "MotherboardVS")
    private String MotherboardVS = "";
    //测试软件版本
    @ColumnInfo(name = "TestSoftVS")
    private String TestSoftVS = "fail";
    @ColumnInfo(name = "IMEI")
    private String IMEI = "fail";
    @ColumnInfo(name = "WifiMac")
    private String WifiMac = "fail";
    @ColumnInfo(name = "BtMac")
    private String BtMac = "fail";
    //单片机版本
    @ColumnInfo(name = "MCUVS")
    private String MCUVS = "fail";
    //前摄像头
    @ColumnInfo(name = "FrontCameraModel")
    private String FrontCameraModel = "fail";
    //后摄像头
    @ColumnInfo(name = "RearCameraModel")
    private String RearCameraModel = "fail";
    //条码型号
    @ColumnInfo(name = "BarcodeModuleModel")
    private String BarcodeModuleModel = "fail";
    //液晶屏型号
    @ColumnInfo(name = "LCDScreenModel")
    private String LCDScreenModel = "fail";
    //触摸屏型号
    @ColumnInfo(name = "TouchScreenModel")
    private String TouchScreenModel = "fail";
    //指纹模块型号
    @ColumnInfo(name = "FingerprintModuleModel")
    private String FingerprintModuleModel = "";
    //超高频型号
    @ColumnInfo(name = "UHFModuleModel")
    private String UHFModuleModel = "";

    //上传日期
    @ColumnInfo(name = "UpdateDate")
    private String UpdateDate = "fail";

    //预留1-5
    @ColumnInfo(name = "reserve1")
    private String reserve1 = "";
    @ColumnInfo(name = "reserve2")
    private String reserve2 = "";
    @ColumnInfo(name = "reserve3")
    private String reserve3 = "";
    @ColumnInfo(name = "reserve4")
    private String reserve4 = "";
    @ColumnInfo(name = "reserve5")
    private String reserve5 = "";

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDataType() {
        return DataType;
    }

    public void setDataType(String dataType) {
        DataType = dataType;
    }

    public String getEquipmentModel() {
        return EquipmentModel;
    }

    public void setEquipmentModel(String equipmentModel) {
        EquipmentModel = equipmentModel;
    }

    public String getSystemVersion() {
        return SystemVersion;
    }

    public void setSystemVersion(String systemVersion) {
        SystemVersion = systemVersion;
    }

    public String getFlashID() {
        return FlashID;
    }

    public void setFlashID(String flashID) {
        FlashID = flashID;
    }

    public String getSamNo() {
        return SamNo;
    }

    public void setSamNo(String samNo) {
        SamNo = samNo;
    }

    public String getDetonatorNo() {
        return DetonatorNo;
    }

    public void setDetonatorNo(String detonatorNo) {
        DetonatorNo = detonatorNo;
    }

    public String getTerminalNo() {
        return TerminalNo;
    }

    public void setTerminalNo(String terminalNo) {
        TerminalNo = terminalNo;
    }

    public String getSerialNo() {
        return SerialNo;
    }

    public void setSerialNo(String serialNo) {
        SerialNo = serialNo;
    }

    public String getMotherboardVS() {
        return MotherboardVS;
    }

    public void setMotherboardVS(String motherboardVS) {
        MotherboardVS = motherboardVS;
    }

    public String getTestSoftVS() {
        return TestSoftVS;
    }

    public void setTestSoftVS(String testSoftVS) {
        TestSoftVS = testSoftVS;
    }

    public String getIMEI() {
        return IMEI;
    }

    public void setIMEI(String IMEI) {
        this.IMEI = IMEI;
    }

    public String getWifiMac() {
        return WifiMac;
    }

    public void setWifiMac(String wifiMac) {
        WifiMac = wifiMac;
    }

    public String getBtMac() {
        return BtMac;
    }

    public void setBtMac(String btMac) {
        BtMac = btMac;
    }

    public String getMCUVS() {
        return MCUVS;
    }

    public void setMCUVS(String MCUVS) {
        this.MCUVS = MCUVS;
    }

    public String getFrontCameraModel() {
        return FrontCameraModel;
    }

    public void setFrontCameraModel(String frontCameraModel) {
        FrontCameraModel = frontCameraModel;
    }

    public String getRearCameraModel() {
        return RearCameraModel;
    }

    public void setRearCameraModel(String rearCameraModel) {
        RearCameraModel = rearCameraModel;
    }

    public String getBarcodeModuleModel() {
        return BarcodeModuleModel;
    }

    public void setBarcodeModuleModel(String barcodeModuleModel) {
        BarcodeModuleModel = barcodeModuleModel;
    }

    public String getLCDScreenModel() {
        return LCDScreenModel;
    }

    public void setLCDScreenModel(String LCDScreenModel) {
        this.LCDScreenModel = LCDScreenModel;
    }

    public String getTouchScreenModel() {
        return TouchScreenModel;
    }

    public void setTouchScreenModel(String touchScreenModel) {
        TouchScreenModel = touchScreenModel;
    }

    public String getFingerprintModuleModel() {
        return FingerprintModuleModel;
    }

    public void setFingerprintModuleModel(String fingerprintModuleModel) {
        FingerprintModuleModel = fingerprintModuleModel;
    }

    public String getUHFModuleModel() {
        return UHFModuleModel;
    }

    public void setUHFModuleModel(String UHFModuleModel) {
        this.UHFModuleModel = UHFModuleModel;
    }

    public String getUpdateDate() {
        return UpdateDate;
    }

    public void setUpdateDate(String updateDate) {
        UpdateDate = updateDate;
    }

    public String getReserve1() {
        return reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1;
    }

    public String getReserve2() {
        return reserve2;
    }

    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2;
    }

    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }

    public String getReserve4() {
        return reserve4;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4;
    }

    public String getReserve5() {
        return reserve5;
    }

    public void setReserve5(String reserve5) {
        this.reserve5 = reserve5;
    }

    @Override
    public String toString() {
        return "DevInfo{" +
                "id=" + id +
                ", DataType='" + DataType + '\'' +
                ", EquipmentModel='" + EquipmentModel + '\'' +
                ", SystemVersion='" + SystemVersion + '\'' +
                ", FlashID='" + FlashID + '\'' +
                ", SamNo='" + SamNo + '\'' +
                ", DetonatorNo='" + DetonatorNo + '\'' +
                ", TerminalNo='" + TerminalNo + '\'' +
                ", SerialNo='" + SerialNo + '\'' +
                ", MotherboardVS='" + MotherboardVS + '\'' +
                ", TestSoftVS='" + TestSoftVS + '\'' +
                ", IMEI='" + IMEI + '\'' +
                ", WifiMac='" + WifiMac + '\'' +
                ", BtMac='" + BtMac + '\'' +
                ", MCUVS='" + MCUVS + '\'' +
                ", FrontCameraModel='" + FrontCameraModel + '\'' +
                ", RearCameraModel='" + RearCameraModel + '\'' +
                ", BarcodeModuleModel='" + BarcodeModuleModel + '\'' +
                ", LCDScreenModel='" + LCDScreenModel + '\'' +
                ", TouchScreenModel='" + TouchScreenModel + '\'' +
                ", FingerprintModuleModel='" + FingerprintModuleModel + '\'' +
                ", UHFModuleModel='" + UHFModuleModel + '\'' +
                ", UpdateDate='" + UpdateDate + '\'' +
                ", reserve1='" + reserve1 + '\'' +
                ", reserve2='" + reserve2 + '\'' +
                ", reserve3='" + reserve3 + '\'' +
                ", reserve4='" + reserve4 + '\'' +
                ", reserve5='" + reserve5 + '\'' +
                '}';
    }
}